{{ await Mode("TPL").Render("@"+KUO.CLASS+"/"+TPLtemp+"/head",KUO,THIS) }}
<div class="neirong">
    <div class="layui-container">
        <div class="layui-row">
            <div class="layui-col-md8 layui-col-xs12">
                   
                    {{#
                        let $WWH = {'subclass IN': await THIS.TYPE_BAOHAN(KUO.$DATA['id']),'off':2};
                        let $MEYE = 10;
                        let $游戏数据 = await  THIS.CENTER_select($WWH,"sortsize desc,id desc",($MEYE+','+KUO.PAGE)  );
                        if( $游戏数据 ){
                            for(let $ii in $游戏数据 ){
                                let $eli = $游戏数据 [$ii ];
                                let $eliurl = KuoLink([ KUO.CLASS, $eli['url'] ]);
                                
                        }}
                  
                    <div class="center">
                        <h2>
                            <a href="{{$eliurl}}">{{$eli.name}}</a>
                        </h2>
                        <div class="post-byline">发表时间:{{Mode("Tools").Date("Y-m-d",$eli.atime)}}
                        </div>
                        <div class="post-content">
                            {{#
                                let hang = explode( "\n",$eli.content);
                                let $i = 0;
                                for(var ii in hang){
                                    var zhi = hang[ii];
                                    if($i > 4){
                                        break ;
                                    }
                                    if(zhi.length > 30){
                            }} 
                                {{zhi}}
                            {{#
                                    $i ++;
                                    }
                                }
                                if($eli.photo != ""){
                            }}
                                <a href="{{$eliurl}}" ><img style="margin:0 auto;display: block;" src="{{pichttp($eli.photo)}}"></a>

                            {{#
                                }
                            }}

                        </div>
                            
                    </div>
                    {{#
                    }
                    }else{ 

                    }}
                        <div class="center">
                            <h2>
                                还没有数据
                            </h2>
                        </div>

                    {{#
                    }
                        let $DB = await db('cms_content');
                        let $TOTAL =  await $DB.Where($WWH).Total();
                      
                        if($TOTAL > $MEYE){
                        }}  <div class="center">
                                <div class="pageddd">{{ Mode("Tools").Fenye( $MEYE , $TOTAL  , 5 , KUO.PAGE ,KuoLink([ KUO.CLASS, KUO.$DATA['url'] ],2) , WebExt ) }} 
                                <div  style="clear:both;"></div>
                                </div>
                            </div>
                    {{# } }}
                    
                <div style="width:100%;height:0.1rem;"></div>
            </div>   
            {{ await Mode("TPL").Render("@"+KUO.CLASS+"/"+TPLtemp+"/right",KUO,THIS) }}

        </div>
    </div>
</div>
{{ await Mode("TPL").Render("@"+KUO.CLASS+"/"+TPLtemp+"/foot",KUO,THIS) }}